using System;

namespace Malu.Entity
{   
	public class InputDataLog 
	{
		#region SQL column name consts 
		public const string SQLCOL_ID = "id";
		public const string SQLCOL_INPUTDATATYPE = "InputDataType";
		public const string SQLCOL_STATUS = "Status";
		public const string SQLCOL_ERRTYPE = "ErrType";
		public const string SQLCOL_ERRDESC = "ErrDesc";
		public const string SQLCOL_USERID = "UserId";
		public const string SQLCOL_USERNAME = "UserName";
		public const string SQLCOL_USERDISPLAYNAME = "UserDisplayName";
		public const string SQLCOL_OPTIME = "OpTime";
        public const string SQLCOL_RecordKeyID = "RecordKeyID";
        public const string SQLCOL_FileName = "FileName";
        public const string SQLCOL_DataContent = "DataContent";
        
		#endregion

        
		#region Contructors
		/// <summary>
		/// Construct empty entity
		/// </summary>
        public InputDataLog() {  }

		/// <summary>
		/// Construct entity by primary key, other fields will be assigned by 
		/// "Load" method.
		/// </summary>
		public InputDataLog (int id)
		{
			this.id = id;
		}
		#endregion
		

		#region Properties 
		#region Property <int> id		
		public int id 
		{
			get { return _id; }
			set { _id = value; }
		}
		private int _id = int.MinValue;
		#endregion

		#region Property <string> InputDataType		
		public string InputDataType 
		{
			get { return _InputDataType; }
			set { _InputDataType = value; }
		}
		private string _InputDataType = null;
		#endregion

        #region Property <string> RecordKeyID      
        public string RecordKeyID 
		{
            get { return _RecordKeyID; }
            set { _RecordKeyID = value; }
		}
        private string _RecordKeyID = null;
		#endregion
        

		#region Property <string> Status		
		public string Status 
		{
			get { return _Status; }
			set { _Status = value; }
		}
		private string _Status = null;
		#endregion

		#region Property <string> ErrType
		public string ErrType 
		{
			get { return _ErrType; }
			set { _ErrType = value; }
		}
		private string _ErrType = null;
		#endregion

		#region Property <string> ErrDesc
		public string ErrDesc 
		{
			get { return _ErrDesc; }
			set { _ErrDesc = value; }
		}
		private string _ErrDesc = null;
		#endregion

		#region Property <Guid> UserId
		public Guid UserId 
		{
			get { return _UserId; }
			set { _UserId = value; }
		}
		private Guid _UserId = Guid.Empty;
		#endregion

		#region Property <string> UserName
		public string UserName 
		{
			get { return _UserName; }
			set { _UserName = value; }
		}
		private string _UserName = null;
		#endregion

		#region Property <string> UserDisplayName
		public string UserDisplayName 
		{
			get { return _UserDisplayName; }
			set { _UserDisplayName = value; }
		}
		private string _UserDisplayName = null;
		#endregion

        #region Property <string> DataContent
        public string DataContent
        {
            get { return _DataContent; }
            set { _DataContent = value; }
        }
        private string _DataContent = null;
        #endregion

		#region Property <DateTime> OpTime
		public DateTime OpTime 
		{
			get { return _OpTime; }
			set { _OpTime = value; }
		}
		private DateTime _OpTime = DateTime.MinValue;
		#endregion

        #region Property <string> FileName
        public string FileName
        {
            get { return _FileName; }
            set { _FileName = value; }
        }
        private string _FileName = null;
        #endregion
		#endregion
     
	}
}
